package cn.boltzjf.sql4j;

import java.sql.SQLException;

public class SqlException extends RuntimeException {

    private static final long serialVersionUID = 1596646151187933003L;

    public SqlException(SQLException cause) {
        super(cause);
    }

    public SqlException(String message, SQLException cause) {
        super(message, cause);
    }

    @Override
    public SQLException getCause() {
        return (SQLException) super.getCause();
    }
}
